﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using PresentationLayer.Reports;

namespace PresentationLayer.View.Reports
{
    public partial class Print_Reorder : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string m1 = Request.QueryString["m1"].ToString();

            DS_Reorder ds = new DS_Reorder();
            PresentationLayer.Reports.DS_ReorderTableAdapters.ReorderTableAdapter ta = new PresentationLayer.Reports.DS_ReorderTableAdapters.ReorderTableAdapter();
            ta.Fill(ds.Reorder, Convert.ToDecimal(m1));
            PresentationLayer.Reports.Report_Reorder rep = new PresentationLayer.Reports.Report_Reorder();
            rep.SetDataSource(ds);
            CrystalReportViewer8.ReportSource = rep;
        }

       

       
    }
}